package com.shz.service;

import com.shz.pojo.User;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.security.core.userdetails.UserDetails;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author yixin
 * @since 2024-06-04
 */
public interface UserService extends IService<User> {

    boolean compareTwoPassword(String password);

    boolean updateUserMsg(User user, String curpassword);

    UserDetails loadUserByUsername(String username);


    boolean compareUserName(String username);



    User getAUserOrUserCache(Integer uid);


}
